package com.yingxin.yxerp.module.common;

public enum InvalidBusinessType {
    DXSBBF("DXSBBF","大型设备报废"),
    GSYL("GSYL","工伤医疗报销"),
    GSGL("GSGL", "工伤管理"),
    CLCK("CLCK", "处理出库"),
    XSYHHK("XSYHHK", "销售优惠回款"),
    BPCGZLCL("BPCGZLCL", "备品采购质量处理"),
    FLXS("FLXS", "废料销售单"),
    ZGWWXMIN("ZGWWXMIN", "轧辊外委入库单"),
    ZGWWXMOUT("ZGWWXMOUT", "轧辊外委出库单"),
    ZGWWXMSK("ZGWWXMSK", "轧辊外委收款单"),
    BPCGZLCLSQ("BPCGZLCLSQ", "备件采购质量处理申请"),
    KXZH("KXZH", "款项转换"),
    DXXS("DXXS", "镀锌销售单"),
    PSGL("PSGL", "碰伤管理"),
    ZYXS("ZYXS", "轧硬销售单"),
    CGPZ("CGPZ", "采购凭证"),
    KHZHRZSQ("KHZHRZSQ", "客户账户入账申请"),
    QTHT("QTHT", "其他合同"),
    KHZHEDSQ("KHZHEDSQ", "客户额度申请"),
    DGHT("DGHT", "代工合同"),
    BPLYCK("BPLYCK", "备品领用出库单"),
    KHZHTKSQ("KHZHTKSQ", "客户账户退款申请"),
    TGJL("TGJL", "停工记录"),
    ZLYYBG("ZLYYBG", "质量异议报告"),
    ZGZCBFSQ("ZGZCBFSQ", "轧辊轴承类报废申请单"),
    CGHTFPSQ("CGHTFPSQ", "主料合同发票申请"),
    YWBZYJH("YWBZYJH", "业务部计划"),
    BPHT("BPHT", "备品合同"),
    DFGF("DFGF", "电费-光伏"),
    DFXT("DFXT", "电费-鑫泰"),
    DFHT("DFHT", "电费-华泰"),
    DFYX("DFYX", "电费-盈鑫"),

    DFYXQT("DFYXQT", "电费-盈鑫-其它"),

    DFXTQT("DFXTQT", "电费-鑫泰-其它"),

    ZYJZD("ZYJZD","轧硬结转单"),
    BPWXCK("BPWXCK", "备品维修出库单"),
    BPWXSQ("BPWXSQ", "备品维修申请单"),
    ZYPCMX("ZYPCMX", "轧硬派车明细"),
    WCYW("WCYW", "外储移位单"),
    WCCK("WCCK", "外储出库单"),
    WCRK("WCRK", "外储入库单"),

    SXPD("SXPD", "酸洗派单"),
    SXPC("SXPC", "酸洗派车"),

    ZYPD("ZYPD", "轧硬派单"),
    ZYPC("ZYPC", "轧硬派车"),

    DGYCCKSQ("DGYCCKSQ", "代工原材出库申请"),
    BPWXFK("BPWXFK", "备品维修付款"),
    CGHTFKSQ("CGHTFKSQ", "主料合同付款申请"),
    DXBJLCLSQ("DXBJLCLSQ", "镀锌边角料处理申请"),
    BPCGFK("BPCGFK", "备品采购付款"),
    YKSQ("YKSQ", "移库申请"),
    ZLRKD("ZLRKD", "主料入库单"),
    LJSQ("LJSQ", "拉矫申请"),
    CGHT("CGHT", "采购合同"),
    XSHT("XSHT", "销售合同"),
    BPRK("BPRK", "备品入库单"),
    BPWXRK("BPWXRK", "备品维修入库单"),
    XSTHRK("XSTHRK", "销售退货入库"),
    RZTHCK("RZTHCK", "热轧退货出库"),
    DGYCCK("DGYCCK", "代工原材出库"),
    DXXSCK("DXXSCK", "镀锌销售出库"),
    ZYXSCK("ZYXSCK", "轧硬销售出库"),
    SXXSCK("SXXSCK", "酸洗销售出库"),
    RZXSCK("RZXSCK", "热轧销售出库"),
    CGXJZF("CGXJZF","采购询价作废"),
    WXXJZF("WXXJZF","维修询价作废"),

    GCBJ("GCBJ", "工程申报报价"),
    GCSB("GCSB", "工程申报"),
    GCFK("GCFK", "工程付款"),
    GCJG("GCJG", "工程竣工"),
    GCFP("GCFP", "工程发票"),
    GCZJ("GCZJ", "工程追加费用"),

    CGHTSKSQ("CGHTSKSQ", "主料合同收款申请"),

    CGHTTZFX("CGHTTZFX", "主料采购合同调整分析"),

    CGHTFKTX("CGHTFKTX", "主料采购付款贴息"),
    BPCG("BPCG", "备品采购单"),

    BPZCRK("BPZCRK", "备品暂存入库单"),
    BPZCCK("BPZCCK", "备品暂存出库单"),

    JC("JC", "奖惩"),

    BPFP("BPFP", "备品发票录入"),

    ZGBFSQ("ZGBFSQ", "轧辊报废申请单"),

    TTBFSQ("TTBFSQ", "铁桶报废申请单"),

    GZBFSQ("GZBFSQ", "辊子报废申请单"),

    RDSQ("RDSQ","备件质量问题未处理原因描述申请"),

    ZYJG("ZYJG", "轧硬价格表"),

    FLSK("FLSK", "废料收款单"),
    BPFLWH("BPFLWH", "备品备件分类作废申请"),
    BPUNIT("BPUNIT", "备品备件计量单位作废申请"),
    XSTH("XSTH", "销售退货单"),
    BPWH("BPWH", "备品备件产品作废申请"),

    PLEDGE("PLEDGE", "轧硬抵押解押单"),
    SpareRedress("SpareRedress","备品备件赔付申请单"),
    FICTITIOUS_STOCK("FICTITIOUS_STOCK","虚拟库存"),

    LJFKFP("LJFKFP", "拉矫付款发票"),
    YFCS("YFCS","运费初审"),
    YFFK("YFFK", "运费付款"),
    CGHT_DR("CGHT_DR", "采购合同库存日报"),
    ;

    private String type;

    private String typeName;

    InvalidBusinessType(String type, String typeName) {
        this.type = type;
        this.typeName = typeName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }


    public static InvalidBusinessType getEnum(String type) {
        for (InvalidBusinessType t : InvalidBusinessType.values()) {
            if (t.getType().equals(type)) {
                return t;
            }
        }
        return null;
    }
}
